package com.groupbuying.cheetah.order.orderManagement.dao;

import com.groupbuying.cheetah.order.orderManagement.domain.SettleUshopSplitMaininfoDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 结算中心分账主信息表
 * @author cuich
 * @email cuichanghao@linku.com.cn
 * @date 2019-06-05 12:02:29
 * @des
 */

@Mapper
@Repository
public interface SettleUshopSplitMaininfoDao {

	SettleUshopSplitMaininfoDO get(String settleId);

	String getStoreAmountByOrderId(String orderId);
	
	List<SettleUshopSplitMaininfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SettleUshopSplitMaininfoDO settleUshopSplitMaininfo);
	
	int update(SettleUshopSplitMaininfoDO settleUshopSplitMaininfo);
	
	int remove(String settle_id);
	
	int batchRemove(String[] settleIds);
}
